export default {
  install(Vue) {
    Vue.mixin({
      methods: {
        searchHandler(params, tableId) {
          this.$refs.table.refresh(true, params)
        },
        exportHandler(exportUrl, params) {
          this.$refs.table.tableExport(exportUrl, params)
        },
      }
    })
  }
}
